package com.awesome.blog.service;

import com.awesome.blog.dao.ArticleMapper;
import com.awesome.blog.entity.Article;
import org.springframework.stereotype.Service;

import java.util.List;
public interface ArticleService {
    public List<Article> selectByType(String type);
    public List<Article> selectByCate(String cate);
    public List<Article> selectByTime(String time);
    public List<Article> selectBySearch(String search);
    public Article selectById(Integer id);
}
